<?php
/**
 * TinyCorePHP 数据库配置文件
 * @author 	kelecode@gmail.com
 * @date 	2013-02-17
 */
defined('IN_SITE') or die('Access Denied');
return array(
	'dbr' => array(
		'db_host' => $_SERVER['OPENSHIFT_MYSQL_DB_HOST'] . ':' . $_SERVER['OPENSHIFT_MYSQL_DB_PORT'],
		'db_user' => $_SERVER['OPENSHIFT_MYSQL_DB_USERNAME'],
		'db_pswd' => $_SERVER['OPENSHIFT_MYSQL_DB_PASSWORD'],
		'db_name' => 't',
		'db_charset' => 'utf8',
		'db_newlink'=> TRUE,
		'pconnect'	=> 0
	),
	'dbw' => array(
		'db_host' => $_SERVER['OPENSHIFT_MYSQL_DB_HOST'] . ':' . $_SERVER['OPENSHIFT_MYSQL_DB_PORT'],
		'db_user' => $_SERVER['OPENSHIFT_MYSQL_DB_USERNAME'],
		'db_pswd' => $_SERVER['OPENSHIFT_MYSQL_DB_PASSWORD'],
		'db_name' => 't',
		'db_charset' => 'utf8',
		'db_newlink'=> TRUE,
		'pconnect'	=> 0
	)
);